/**
 * 
 */
package fs;

import java.io.File;

import com.vanstone.common.debug.DebugUtil;
import com.vanstone.fs.FSManager;
import com.vanstone.fs.api.FileException;
import com.vanstone.fs.weedfs.WeedFSFile;

/**
 * @author shipeng
 *
 */
public class WeedFSMainApp {

  public static void main(String[] args) {
    try {
      WeedFSFile weedFsFile = FSManager.getInstance().uploadToWeedFS(new File("E:/testimg/__48565908__1280111.jpg"));
      DebugUtil.print(weedFsFile);
    } catch (FileException e) {
      e.printStackTrace();
    }
  }

}
